local extention = Package:new("cfcards", Package.CardPack)
extention.extensionName = "chunfeng"

extention:loadSkillSkelsByPath("packages/chunfeng/pkg/cfcards/skills")

Fk:loadTranslationTable {
  ["cfcards"] = "春风包卡牌",
  ["@@cf_baofu-turn"] = "饱腹",
}

local lotus_flower_crisp = fk.CreateCard {
  name = "&cf_lotus_flower_crisp",
  type = Card.TypeTrick,
  skill = "cf_lotus_flower_crisp_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_lotus_flower_crisp"] = "莲花酥",
  [":cf_lotus_flower_crisp"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：未饱腹的你<br />" ..
      "<b>效果</b>：增加两个护甲，然后饱腹。"
}

local sweet_madame = fk.CreateCard {
  name = "&cf_sweet_madame",
  type = Card.TypeTrick,
  skill = "cf_sweet_madame_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_sweet_madame"] = "甜甜花酿鸡",
  [":cf_sweet_madame"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：一名未饱腹的已受伤角色<br />" ..
      "<b>效果</b>：回复一点体力，然后饱腹。"
}

local mondstadt_hash_brown = fk.CreateCard {
  name = "&cf_mondstadt_hash_brown",
  type = Card.TypeTrick,
  skill = "cf_mondstadt_hash_brown_skill",
  extra_data = { is_liaoli = true },
}


Fk:loadTranslationTable {
  ["cf_mondstadt_hash_brown"] = "蒙德土豆饼",
  [":cf_mondstadt_hash_brown"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：未饱腹的你<br />" ..
      "<b>效果</b>：弃置一张牌，回复两点体力，然后饱腹。"
}

local adeptus_temptation = fk.CreateCard {
  name = "&cf_adeptus_temptation",
  type = Card.TypeTrick,
  skill = "cf_adeptus_temptation_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_adeptus_temptation"] = "仙跳墙",
  [":cf_adeptus_temptation"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：未饱腹的你<br />" ..
      "<b>效果</b>：下次造成的有实体牌的伤害+2，然后饱腹。"
}

local mushroom_pizza = fk.CreateCard {
  name = "&cf_mushroom_pizza",
  type = Card.TypeTrick,
  skill = "cf_mushroom_pizza_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_mushroom_pizza"] = "烤蘑菇披萨",
  [":cf_mushroom_pizza"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：一名未饱腹的已受伤角色<br />" ..
      "<b>效果</b>：回复一点体力，然后接下来两回合结束时各回复一点体力。然后饱腹。"
}

local tandoori_roast_chicken = fk.CreateCard {
  name = "&cf_tandoori_roast_chicken",
  type = Card.TypeTrick,
  skill = "cf_tandoori_roast_chicken_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_tandoori_roast_chicken"] = "唐杜尔烤鸡",
  [":cf_tandoori_roast_chicken"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：若你未饱腹，一名未饱腹的其他角色<br />" ..
      "<b>效果</b>：你与其下次造成的无实体牌的伤害+2，然后你与其饱腹。"
}

local glittering_gemstones = fk.CreateCard {
  name = "&cf_glittering_gemstones",
  type = Card.TypeTrick,
  skill = "cf_glittering_gemstones_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_glittering_gemstones"] = "宝石闪闪",
  [":cf_glittering_gemstones"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：未饱腹的你<br />" ..
      "<b>效果</b>：增加一点体力上限回复一点体力并饱腹。"
}

local minty_meat_rolls = fk.CreateCard {
  name = "&cf_minty_meat_rolls",
  type = Card.TypeTrick,
  skill = "cf_minty_meat_rolls_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_minty_meat_rolls"] = "兽肉薄荷卷",
  [":cf_minty_meat_rolls"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：未饱腹的你<br />" ..
      "<b>效果</b>：本回合使用【杀】无次数限制，然后饱腹。"
}

local jueyun_guoba = fk.CreateCard {
  name = "&cf_jueyun_guoba",
  type = Card.TypeTrick,
  skill = "cf_jueyun_guoba_skill",
  extra_data = { is_liaoli = true },
}

Fk:loadTranslationTable {
  ["cf_jueyun_guoba"] = "绝云锅巴",
  [":cf_jueyun_guoba"] = "锦囊牌-料理<br />" ..
      "<b>时机</b>：出牌阶段<br />" ..
      "<b>目标</b>：未饱腹的你<br />" ..
      "<b>效果</b>：本回合使用【杀】杀伤害+1，然后饱腹。"
}

extention:addCardSpec("cf_lotus_flower_crisp", Card.Heart, 1)
extention:addCardSpec("cf_lotus_flower_crisp", Card.Spade, 1)
extention:addCardSpec("cf_sweet_madame", Card.Heart, 3)
extention:addCardSpec("cf_sweet_madame", Card.Heart, 4)
extention:addCardSpec("cf_sweet_madame", Card.Heart, 5)
extention:addCardSpec("cf_sweet_madame", Card.Heart, 6)
extention:addCardSpec("cf_sweet_madame", Card.Heart, 7)
extention:addCardSpec("cf_mondstadt_hash_brown", Card.Heart, 10)
extention:addCardSpec("cf_mondstadt_hash_brown", Card.Heart, 11)
extention:addCardSpec("cf_mondstadt_hash_brown", Card.Heart, 12)
extention:addCardSpec("cf_mondstadt_hash_brown", Card.Heart, 13)
extention:addCardSpec("cf_adeptus_temptation", Card.Heart, 8)
extention:addCardSpec("cf_adeptus_temptation", Card.Spade, 8)
extention:addCardSpec("cf_mushroom_pizza", Card.Heart, 9)
extention:addCardSpec("cf_mushroom_pizza", Card.Spade, 9)
extention:addCardSpec("cf_tandoori_roast_chicken", Card.Heart, 2)
extention:addCardSpec("cf_tandoori_roast_chicken", Card.Spade, 2)
extention:addCardSpec("cf_glittering_gemstones", Card.Spade, 7)
extention:addCardSpec("cf_minty_meat_rolls", Card.Spade, 3)
extention:addCardSpec("cf_minty_meat_rolls", Card.Spade, 4)
extention:addCardSpec("cf_minty_meat_rolls", Card.Spade, 5)
extention:addCardSpec("cf_minty_meat_rolls", Card.Spade, 6)
extention:addCardSpec("cf_jueyun_guoba", Card.Spade, 10)
extention:addCardSpec("cf_jueyun_guoba", Card.Spade, 11)
extention:addCardSpec("cf_jueyun_guoba", Card.Spade, 12)
extention:addCardSpec("cf_jueyun_guoba", Card.Spade, 13)

extention:loadCardSkels {
  lotus_flower_crisp,
  sweet_madame,
  mondstadt_hash_brown,
  adeptus_temptation,
  mushroom_pizza,
  tandoori_roast_chicken,
  glittering_gemstones,
  minty_meat_rolls,
  jueyun_guoba,
}

return extention
